body {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, "Microsoft Yahei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* 公用样式 */
* {
  box-sizing: border-box;
}
.flex {
  display: flex;
  justify-content: space-between;
  /* 分散对齐 */
  align-items: center;
  /* 水平居中 */
}
.btn {
  border: none;
  border-radius: 2rem;
  padding: 0.5rem 1.2rem;
}
.padded {
  padding: 1rem;
}
.home-header {
  display: block;
  background: url("../images/home-bg.png") center center no-repeat;
  color: #fff;
  text-align: center;
  -webkit-background-size: cover;
  background-size: cover;
  text-align: center;
  padding-bottom: 1.7rem;
}

.home-banner > img {
  width: 76%;
  height: 110px;
  padding: 1.8rem 0;
  /* root em */
}

.home-header > form {
  background: white;
  width: 92%;
  margin: 0 auto;
  line-height: 2.2rem;
  border-radius: 2.2rem;
}

.home-header > form input {
  width: 75%;
  outline: none;
  border: none;
  color: #aaa;
  font-size: 0.85rem;
}

.home-header > form button {
  color: #5bd4c7;
  font-size: 0.9rem;
  border: none;
  background: none;
}

/* 分类 */
.home-categories {
  padding: 0 1rem;
}
.home-categories dt {
  display: flex;
  align-items: center;
  color: #333;
}
.home-categories dt > img {
  height: 3rem;
  margin-right: 1rem;
}
.home-categories dd {
  margin: 0 -0.4rem;
  /* text-align: center; */
}
.home-categories dd .tag {
  background: #f5f8f9;
  color: #7e8793;
  padding: 0.5rem 0.8rem;
  display: inline-block;
  /* 行内会计元素 */
  border-radius: 2rem;
  text-decoration: none;
  margin: 0.2rem 0.4rem;
  font-size: 0.8rem;
}

.home-footer {
  width: 70%;
  margin: 0 auto;
  font-size: 0.75rem;
}
.home-footer > p {
  margin: 0.25rem 0;
  color: #7e8793;
}

/* list.html */

.list-header {
  padding: 0.8rem 1rem;
}
.list-header form > img {
  height: 1.2rem;
}

.list-header form {
  width: 100%;
}
.list-header form .inner {
  width: 100%;
  background: #f5f8f9;
  margin: 0 1rem;
  line-height: 1.7rem;
  border-radius: 2rem;
  padding: 0 1rem;
}
.list-header form .inner input {
  width: 80%;
  background: transparent;
  /* 透明 */
  border: none;
  outline: none;
}
.list-header form button {
  border: none;
  background: none;
  color: #5bd4c7;
  font-size: 0.9rem;
  flex-shrink: 0;
  padding: 0;
  /* 缩放1 */
}
.filter {
  padding: 0.5rem 1rem;
  border: 1px solid #edeff0;
}
.filter dl,
.filter dd {
  margin: 0;
}
.filter dt {
  font-size: 0.9rem;
  color: #aaa;
}
.filter .active dt {
  color: #333;
}
.filter dt::after {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border: 1px solid #000;
  border-style: solid none none solid;
  color: #aaa;
  /* 只留上右下左 */
  transform: rotate(225deg);
  /* 旋转 */
  transform-origin: 2px 1px;
  /* 偏移 x Y */
  transition: all 0.3s;
  /* 动画 */
  margin-left: 0.5rem;
}
.filter .active dt::after {
  transform: rotate(45deg);
  /* 旋转 */
}

.filter .active dd {
  display: block;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.3);
  position: absolute;
  left: 0;
  top: 89px;
}
.filter .active dd ul {
  margin: 0;
  padding: 0;
  background: #fff;
}
.filter .active dd ul li {
  line-height: 3rem;
  text-indent: 1rem;
  /* 字体缩进 */
  color: #999;
}
.filter .active dd ul .active {
  background: #f5f8f9;
  color: #333;
}
.filter dd {
  display: none;
}

.job-list {
  margin: 0;
  padding: 0;
}
.job-item {
  margin: 1rem;
  padding-bottom: 1rem;
  color: #7e8793;
  text-decoration: none;
  border-bottom: 1px solid #e9edee;
}
.job-item > img {
  height: 3.5rem;
  border-radius: 0.3rem;
}
.job-item .text {
  width: 100%;
  margin-left: 1rem;
}
.job-item .text .title {
  color: #333;
  font-size: 1.2rem;
}
.job-item .text .salary {
  font-size: 1.2rem;
  color: #fc6c38;
}
.job-item .text .company {
  color: #333;
  font-size: 0.8rem;
  margin: 0 0.2rem;
}
.job-item .text .props {
  font-size: 0.8rem;
}
.job-item .text .props span {
  margin-right: 0.5rem;
}

/* detail.html */
/* 头部 */
.top-bar img {
  height: 1rem;
}

.top-bar form {
  width: 40%;
  border: 1px solid #5bd4c7;
  border-radius: 2rem;
  padding: 0 0.5rem;
}
.top-bar form input {
  border: none;
  width: 80%;
  background: none;
  line-height: 1.5rem;
  color: #aaa;
  font-size: 0.9rem;
  outline: none;
}
.top-bar form button {
  border: none;
  background: url("../images/icons.png") no-repeat top center;
  /* 图片定位 */
  background-size: 100% auto;
  display: inline-block;
  width: 1rem;
  height: 1rem;
}
/* 职位信息 */
.job-info {
  background: #62d5c8;
  color: white;
}
.job-info .title {
  font-size: 1.2rem;
}
.job-info .props {
  font-size: 0.8rem;
  margin: 0.5rem 0;
}
.job-info .props .items i {
  display: inline-block;
  width: 1px;
  height: 0.8rem;
  background: #fff;
  margin: 0 0.5rem;
}
/* 62d5c8 */
.job-info .tags span {
  border: 1px solid #fff;
  padding: 0.2rem 0.5rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  margin-right: 0.5rem;
}
/* 用户信息 */
.user-info {
  background: #eefbf9;
  height: 5rem;
  padding: 0 0.5rem;
}
.user-info > img {
  height: 3.5rem;
  border-radius: 3.5rem;
  /* 圆角与高度相同即可将变为圆圈 */
}
.user-info > button {
  background: #5bd4c7;
  color: #fff;
  flex-shrink: 0;
  border: none;
}

.user-info .name {
  color: #333;
}

.user-info .name .like {
  font-size: 0.8rem;
  color: #fb7042;
  cursor: pointer;
}
.user-info .name .desc {
  font-size: 0.8rem;
  color: #aaa;
  margin-top: 0.5rem;
}
.user-info .info {
  width: 70%;
  margin: 0 1rem;
}
/* 详情 */
.job-detail .item {
  margin-bottom: 1.5rem;
}
.job-detail .item h3 {
  color: #333;
  font-size: 1rem;
  position: relative;
  margin-bottom: 2rem;
}
.job-detail .item h3::after {
  content: "";
  width: 1rem;
  height: 2px;
  display: inline-block;
  background: #5bd4c7;
  position: absolute;
  top: 1.8rem;
  left: 0;
}
.job-detail .item .text {
  font-size: 0.95rem;
  line-height: 1.6rem;
}
.job-detail .item .tags span {
  border: 1px solid #5bd4c7;
  padding: 0.1rem 0.5rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  color: #5bd4c7;
  margin-right: 0.5rem;
  display: inline-block;
  margin-bottom: 0.5rem;
}

/* 推荐 */
.related-jobs h3 {
  font-weight: normal;
  font-size: 0.9rem;
  color: #333;
}
.related-jobs ul {
  list-style: none;
}
.related-jobs ul li a {
  border: none;
  border-top: 1px solid #ebecef;
  margin: 0;
  padding: 0.25rem;
}
.related-jobs button {
  padding: 0.4rem 1.2rem;
  margin-top: 0.2rem;
  border: 1px solid #62d5c8;
  color: #62d5c8;
  background: none;
}

.detail-footer p {
  text-align: center;
  margin: 1rem;
  color: rgb(156, 152, 152);
}

.detail-footer p::before,
.detail-footer p::after {
  content: "";
  display: inline-block;
  /* inline-block才显示 */
  width: 1rem;
  height: 1px;
  background: rgb(158, 156, 156);

  vertical-align: middle;
  margin: 0 0.4rem;
}
